/*******************************************************************************
 * Copyright (c) 2001, 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 ******************************************************************************/
package net.sourceforge.perforce.ui;

/**
  * @version $Revision: 231 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public interface IPerforceUIConstants 
{
	// ----------------------------------------------------------------------------------- Constants
	
	/** Image for Perforce Server. */
	String IMG_PERFORCE_SERVER = "obj16/server.gif";                                   //$NON-NLS-1$
	
	/** Image for Head Revision */
	String IMG_HEAD_REV = "obj16/head_rev.gif";                                        //$NON-NLS-1$

	/** Image for "Refresh" action. */
	String IMG_REFRESH = "clcl16/refresh.gif";                                         //$NON-NLS-1$

	/** Image for client pending chaneglist container. */
	String IMG_CLIENT_CHANGELISTS = "clcl16/client_cls.gif";                           //$NON-NLS-1$

	/** Image for client pending chaneglist. */
	String IMG_CLIENT_CHANGELIST = "clcl16/client_cl.gif";                             //$NON-NLS-1$

	/** Image for other pending chaneglist container. */
	String IMG_OTHER_CHANGELISTS = "clcl16/other_cls.gif";                             //$NON-NLS-1$

	/** Image for other pending chaneglist. */
	String IMG_OTHER_CHANGELIST = "clcl16/other_cl.gif";                               //$NON-NLS-1$

	// ------------------------------------------------------------------------- Constants (Wizards)

	/** Image for "New->Perforce Server" action */
	String IMG_NEWLOCATION = "wizards/newlocation_wiz.gif";                            //$NON-NLS-1$

	// ------------------------------------------------------------------- Constants (Wizard Banner)
	
	/** Banner image of New Location Wizard */	
	String IMG_WIZBAN_SHARE = "wizban/newconnect_wizban.gif";                          //$NON-NLS-1$
	
	// ------------------------------------------------------------------------ Constants (Overlays)
	
	/** Overlay Image: Resource exists on remote */
	String OVR_HASREMOTE = "ovr/hasRemote.gif";                                        //$NON-NLS-1$
	
	/** Overlay Image: Resource does not exist on remote */
	String OVR_NO_REMOTE = "ovr/question.gif";                                         //$NON-NLS-1$
	
	/** Overlay Image: Resource is out of date */
	String OVR_OUTOFDATE = "ovr/outOfDate.gif";                                        //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for add */
	String OVR_OPENFORADD = "ovr/openForAdd.gif";                                      //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for edit */
	String OVR_OPENFOREDIT = "ovr/openForEdit.gif";                                    //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for delete */
	String OVR_OPENFORDELETE = "ovr/openForDelete.gif";                                //$NON-NLS-1$
	
	/** Overlay Image: Resource is locked */
	String OVR_LOCKED = "ovr/locked.gif";                                              //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for edit by someone else */	
	String OVR_OTHER_OPENFORADD = "ovr/otherOpenForAdd.gif";                           //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for edit by someone else */	
	String OVR_OTHER_OPENFORDELETE = "ovr/otherOpenForDelete.gif";                     //$NON-NLS-1$
	
	/** Overlay Image: Resource is opened for edit by someone else */	
	String OVR_OTHER_OPENFOREDIT = "ovr/otherOpenForEdit.gif";                         //$NON-NLS-1$
	
	// --------------------------------------------------------------------- Constants (Preferences)
	
	/** Preference Key: Dirty Flag */
	String PREF_DIRTY_FLAG = "pref_dirty_flag";                                        //$NON-NLS-1$

	/** Preference Key: Added Flag */
	String PREF_ADDED_FLAG = "pref_added_flag";                                        //$NON-NLS-1$

	/** Preference Key: File Text Format */
	String PREF_FILETEXTFORMAT = "pref_filetextformat";                                //$NON-NLS-1$

	/** Preference Key: Folder Text Format */
	String PREF_FOLDERTEXTFORMAT = "pref_foldertextformat";                            //$NON-NLS-1$

	/** Preference Key: Project Text Format */
	String PREF_PROJECTTEXTFORMAT = "pref_projexttextformat";                          //$NON-NLS-1$

	/** Preference Key: Show Tasks On Add*/
	String PREF_SHOW_TASKS_ON_ADD = "pref_showTasksOnAdd";                             //$NON-NLS-1$

	/** Preference Key: Don't Prompt Automatic Open */
	String PREF_DONT_PROMPT_AUTOMATIC_OPEN = "pref_dontPromptAutomaticOpen";           //$NON-NLS-1$
	
	/** Preference Key: Warn when file is opened by other user. */
	String PREF_WARN_ON_OTHER_OPEN = "pref_warnOnOtherOpen";                           //$NON-NLS-1$
	
	/** Preference Key: Warn before submitting changelist that contains warning/errors */
	String PREF_CHECK_CHANGELIST_FOR_WARNINGS_AND_ERROR = "pref_checkChangelist";      //$NON-NLS-1$

	/** Preference Key: Interval of Bacground Updates */
	String PREF_BACKGROUND_UPDATE_INTERVAL = "pref_backgroundUpdateInterval";          //$NON-NLS-1$

	/** Preference Key: Should Monitor Changelists. */
	String PREF_SHOULD_MONITOR_CHANGELISTS = "pref_shouldMonitorChangelists";          //$NON-NLS-1$
	
	/** Preference Key: Should Monitor Opened Files. */
	String PREF_SHOULD_MONITOR_OPENED_FILES = "pref_shouldMonitorOpenedFiles";         //$NON-NLS-1$

	/** Preference Key: Visually Indicate that the resource is opened for edit */
	String PREF_INDICATE_OPENED_FOR_EDIT = "pref_indicateOpenedForEdit";               //$NON-NLS-1$
	
	/** Preference Key: Visually Indicate that the resource has a remote */ 
	String PREF_INDICATE_HAS_REMOTE = "pref_indicateHasRemote";                        //$NON-NLS-1$
	
	/** Preference Key: Visually Indicate that the resource is opened for add */
	String PREF_INDICATE_OPENED_FOR_ADD = "pref_indicateOpenedForAdd";                 //$NON-NLS-1$
	
	/** Preference Key: Visually Indicate that the resource is new */
	String PREF_INDICATE_NEW_RESOURCE = "pref_indicateNewResource";                    //$NON-NLS-1$
	
	/** Preference Key: Visually Indicate that the resource is opened by someone else */
	String PREF_INDICATE_OPENED_BY_OTHER = "pref_indicateOpenedByOther";               //$NON-NLS-1$
	
	// ----------------------------------------------------------------------------------------- Ids
	
	/** ID: Plugin */
	String ID = "net.sourceforge.perforce.ui";                                         //$NON-NLS-1$
	
	/** ID: Auto Resolve Type - Theirs */
	String AUTO_RESOLVE_TYPE_THEIRS = ID + ".autoResolveTypeTheirs";                   //$NON-NLS-1$
	
	/** ID: Auto Resolve Type - Yours */
	String AUTO_RESOLVE_TYPE_YOURS = ID + ".autoResolveTypeYours";                     //$NON-NLS-1$
	
	/** ID: Auto Resolve Type - Safe Automatic */
	String AUTO_RESOLVE_TYPE_SAFE_AUTOMATIC = ID + ".autoResolveTypeSafeAutomatic";    //$NON-NLS-1$
	
	/** ID: Auto Resolve Type - Automatic */
	String AUTO_RESOLVE_TYPE_AUTOMATIC = ID + ".autoResolveTypeAutomatic";             //$NON-NLS-1$
	
	/** ID: Auto Resolve Type - Automatic Markers */
	String AUTO_RESOLVE_TYPE_AUTOMATIC_MARKERS = 
		ID + ".autoResolveTypeAutomaticMarkers";                                       //$NON-NLS-1$
}
